package com.ling.pl.autoproject.definition.component.tree.model;

import com.ling.pl.core.commons.annotation.ModelProperty;

import javax.persistence.Column;

public class Tree {
    //树视图信息
    @Column(name = "ENTITY_ID", length = 36)
    @ModelProperty(comment = "实体id")
    String entityId;

    @Column(name = "NAME", length = 150)
    @ModelProperty(comment = "名称")
    String name;

    @Column(name = "CODE", length = 150)
    @ModelProperty(comment = "代码")
    String code;

    @Column(name = "IS_ROOT")
    @ModelProperty(comment = "显示根节点")
    Boolean isRoot;

    @Column(name = "IS_ROOT_SELECT_ABLE")
    @ModelProperty(comment = "根节点选择")
    Boolean isRootSelectAble;

    @Column(name = "IS_SEARCH_ABLE")
    @ModelProperty(comment = "支持搜索")
    Boolean isSearchAble;

    @Column(name = "DEFAULT_BACK_PROCESSOR_ID", length = 250)
    @ModelProperty(comment = "后台处理对象")
    String defaultBackProcessorId;

    @Column(name = "PLUGIN", length = 250)
    @ModelProperty(comment = "前端应用插件")
    String plugin;

    @Column(name = "DICT_CODE", length = 150)
    @ModelProperty(comment = "分类代码表")
    String dictCode;

    @Column(name = "COMPONENT_MSG", length = 250)
    @ModelProperty(comment = "部件消息")
    String componentMsg;

    @Column(name = "TODO", length = 500)
    @ModelProperty(comment = "todo")
    String todo;

}
